com.jdroid.java.exception
Class ErrorCodeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.jdroid.java.exception.AbstractException
                  extended by com.jdroid.java.exception.ErrorCodeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ApplicationException, BusinessException

public class ErrorCodeException
extends AbstractException

See Also:
Serialized Form

Constructor Summary
protected ErrorCodeException()
           
  ErrorCodeException(ErrorCode errorCode)
           
  ErrorCodeException(ErrorCode errorCode, Object... errorCodeParameters)
           
  ErrorCodeException(ErrorCode errorCode, String message)
           
  ErrorCodeException(ErrorCode errorCode, Throwable throwable)
           
  ErrorCodeException(String errorMessage)
           
protected ErrorCodeException(Throwable throwable)
           
 
Method Summary
 ErrorCode getErrorCode()
           
 Object[] getErrorCodeParameters()
           
 
Methods inherited from class com.jdroid.java.exception.AbstractException
addParameter, getParameter, getParameters, hasParameter
 
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

ErrorCodeException

protected ErrorCodeException()

ErrorCodeException

protected ErrorCodeException(Throwable throwable)

ErrorCodeException

public ErrorCodeException(String errorMessage)

ErrorCodeException

public ErrorCodeException(ErrorCode errorCode,
                          Throwable throwable)

ErrorCodeException

public ErrorCodeException(ErrorCode errorCode,
                          String message)

ErrorCodeException

public ErrorCodeException(ErrorCode errorCode,
                          Object... errorCodeParameters)

ErrorCodeException

public ErrorCodeException(ErrorCode errorCode)
Method Detail

getErrorCode

public ErrorCode getErrorCode()
Returns:
the errorCode

getErrorCodeParameters

public Object[] getErrorCodeParameters()
Returns:
the errorCodeParameters


Copyright © 2014. All rights reserved.