javax.rad.model
Class ModelException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.rad.model.ModelException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DataSourceException

public class ModelException
extends Exception

The ModelException is used to throw model depending Exception's.

See Also:
Serialized Form

Constructor Summary
ModelException(String pErrorMessage)
          Constructs the ModelException with the specified error message.
ModelException(String pErrorMessage, Throwable pMainCause)
          Constructs the ModelException with the specified error message and main cause.
ModelException(Throwable pMainCause)
          Constructs the ModelException with the specified error message.
 
Method Summary
 
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

ModelException

public ModelException(String pErrorMessage)
Constructs the ModelException with the specified error message.

Parameters:
pErrorMessage - the error message of the Exception

ModelException

public ModelException(Throwable pMainCause)
Constructs the ModelException with the specified error message.

Parameters:
pMainCause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

ModelException

public ModelException(String pErrorMessage,
                      Throwable pMainCause)
Constructs the ModelException with the specified error message and main cause.

Parameters:
pErrorMessage - the error message of the Exception
pMainCause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.