nl.gx.webmanager.handler.forms
Class HandleException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by nl.gx.webmanager.handler.forms.HandleException
All Implemented Interfaces:
java.io.Serializable

public class HandleException
extends java.lang.Exception

A handle exception is thrown by a form handler it's action could not be executed successfully.

See Also:
Serialized Form

Constructor Summary
HandleException(java.lang.String message)
          Constructs a new handle exception.
HandleException(java.lang.String message, java.lang.String code)
          Constructs a new handle exception.
HandleException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new handle exception.
HandleException(java.lang.String message, java.lang.Throwable cause, java.lang.String code)
          Constructs a new handle exception.
HandleException(java.lang.Throwable cause)
          Constructs a new handle exception.
 
Method Summary
 java.lang.String getCode()
          Returns the code that has been used for generating the error message.
 
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

HandleException

public HandleException(java.lang.String message)
Constructs a new handle exception.

Parameters:
message - The user friendly error message.

HandleException

public HandleException(java.lang.Throwable cause)
Constructs a new handle exception.

Parameters:
cause - The root cause for this exception.

HandleException

public HandleException(java.lang.String message,
                       java.lang.Throwable cause)
Constructs a new handle exception.

Parameters:
message - The user friendly error message.
cause - The root cause for this exception.

HandleException

public HandleException(java.lang.String message,
                       java.lang.String code)
Constructs a new handle exception.

Parameters:
message - The user friendly error message.
code - The code that has been used for generating the error message.

HandleException

public HandleException(java.lang.String message,
                       java.lang.Throwable cause,
                       java.lang.String code)
Constructs a new handle exception.

Parameters:
message - The user friendly error message.
cause - The root cause for this exception.
code - The code that has been used for generating the error message.
Method Detail

getCode

public java.lang.String getCode()
Returns the code that has been used for generating the error message.

Returns:
The code that has been used for generating the error message, or null if no code has been specified.


Copyright © 2007-2011 GX Software BV. All Rights Reserved.