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.
 
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(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 Exception, which followed to this Exception.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.