org.equanda.client
Class EquandaException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.equanda.client.EquandaException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
EquandaPersistenceException

public class EquandaException
extends Exception

Exception indicating a problem in the use of the equanda.

Author:
Joachim Van der Auwera, NetRom team
See Also:
Serialized Form

Field Summary
static String APPLICATION_EXCEPTIONS_CONTEXT
           
static String CORE_EXCEPTIONS_CONTEXT
           
static String DEFAULT_MESSAGE
           
 
Constructor Summary
EquandaException()
           
EquandaException(Exception ex)
           
EquandaException(int exceptionCode)
           
EquandaException(int exceptionCode, Exception ex)
           
EquandaException(int exceptionCode, Exception ex, String... parameters)
           
EquandaException(int exceptionCode, String... parameters)
           
 
Method Summary
 String getAppendedParameters()
           
 int getExceptionCode()
           
 String[] getInjectedParameters()
           
 String getMessage()
           
 String getShortMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CORE_EXCEPTIONS_CONTEXT

public static final String CORE_EXCEPTIONS_CONTEXT
See Also:
Constant Field Values

APPLICATION_EXCEPTIONS_CONTEXT

public static final String APPLICATION_EXCEPTIONS_CONTEXT
See Also:
Constant Field Values

DEFAULT_MESSAGE

public static final String DEFAULT_MESSAGE
See Also:
Constant Field Values
Constructor Detail

EquandaException

public EquandaException()

EquandaException

public EquandaException(Exception ex)

EquandaException

public EquandaException(int exceptionCode,
                        Exception ex,
                        String... parameters)

EquandaException

public EquandaException(int exceptionCode,
                        Exception ex)

EquandaException

public EquandaException(int exceptionCode,
                        String... parameters)

EquandaException

public EquandaException(int exceptionCode)
Method Detail

getInjectedParameters

public String[] getInjectedParameters()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getShortMessage

public String getShortMessage()

getExceptionCode

public int getExceptionCode()

getAppendedParameters

public String getAppendedParameters()


Copyright © 2007-2009. All Rights Reserved.