de.espirit.common
Class CheckedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.espirit.common.CheckedException
All Implemented Interfaces:
de.espirit.common.LocalizableError, Serializable
Direct Known Subclasses:
ElementDeletedException, ElementMovedException, LockException

public class CheckedException
extends Exception
implements de.espirit.common.LocalizableError

Since:
4.0.17
See Also:
Serialized Form

Constructor Summary
CheckedException()
           
CheckedException(String message)
           
 
Method Summary
 Map<String,Object> getContext()
           
 String getErrorCode()
           
 String getLocalizedMessage(ResourceBundle bundle)
           
 void setErrorCode(String errorCode)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CheckedException

public CheckedException()
Since:
4.0.17

CheckedException

public CheckedException(String message)
Since:
4.0.17
Method Detail

setErrorCode

public void setErrorCode(String errorCode)
Since:
4.0.17

getErrorCode

public String getErrorCode()
Specified by:
getErrorCode in interface de.espirit.common.LocalizableError
Since:
4.0.17

getLocalizedMessage

public String getLocalizedMessage(ResourceBundle bundle)
Specified by:
getLocalizedMessage in interface de.espirit.common.LocalizableError
Since:
4.0.17

getContext

public Map<String,Object> getContext()
Specified by:
getContext in interface de.espirit.common.LocalizableError
Since:
4.0.17


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480