org.deegree.services.controller.exception
Class ControllerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.deegree.services.controller.exception.ControllerException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
OWSException, SOAPException

public class ControllerException
extends java.lang.Exception

The ControllerException class wraps an exception code.

Version:
$Revision: 18171 $, $Date: 2009-06-17 16:00:07 +0200 (Mi, 17. Jun 2009) $
Author:
Rutger Bezema, last edited by: $Author: mschneider $
See Also:
Serialized Form

Field Summary
static java.lang.String NO_APPLICABLE_CODE
          exception code for all not known exceptions
 
Constructor Summary
ControllerException(java.lang.String message, java.lang.String exceptionCode)
           
ControllerException(java.lang.String message, java.lang.Throwable cause, java.lang.String exceptionCode)
           
ControllerException(java.lang.Throwable cause, java.lang.String exceptionCode)
           
 
Method Summary
 java.lang.String getExceptionCode()
           
 
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
 

Field Detail

NO_APPLICABLE_CODE

public static final java.lang.String NO_APPLICABLE_CODE
exception code for all not known exceptions

See Also:
Constant Field Values
Constructor Detail

ControllerException

public ControllerException(java.lang.String message,
                           java.lang.String exceptionCode)
Parameters:
message - human readable exception
exceptionCode - defining a machine readable code.

ControllerException

public ControllerException(java.lang.Throwable cause,
                           java.lang.String exceptionCode)
Parameters:
cause - of the exception
exceptionCode - defining a machine readable code.

ControllerException

public ControllerException(java.lang.String message,
                           java.lang.Throwable cause,
                           java.lang.String exceptionCode)
Parameters:
message - human readable exception
cause - of the exception
exceptionCode - defining a machine readable code.
Method Detail

getExceptionCode

public final java.lang.String getExceptionCode()
Returns:
the exceptionCode


Copyright © 2011. All Rights Reserved.