Public Member Functions

org.exolab.castor.mapping.MappingRuntimeException Class Reference

List of all members.

Public Member Functions

 MappingRuntimeException (String message)
 MappingRuntimeException (String message, Object[] args)
 MappingRuntimeException (Throwable exception)
 MappingRuntimeException (Throwable exception, String message)
Throwable getException ()
void printStackTrace ()
void printStackTrace (PrintStream print)
void printStackTrace (PrintWriter print)

Detailed Description

An exception indicating an invalid mapping error. This exception extends IllegalStateException so that it can be used to replace current uses of IllegalStateException within the mapping framework. This exception is used when a nested exception needs to be reported.

Author:
Assaf Arkin
Keith Visco
Version:
Revision:
1.1.1.1
Date:
2003/03/03 07:08:28

Constructor & Destructor Documentation

org.exolab.castor.mapping.MappingRuntimeException.MappingRuntimeException ( String  message  ) 

Creates a new MappingRuntimeException

Parameters:
message the error message
org.exolab.castor.mapping.MappingRuntimeException.MappingRuntimeException ( String  message,
Object[]  args 
)

Creates a new MappingRuntimeException

Parameters:
message the error message
org.exolab.castor.mapping.MappingRuntimeException.MappingRuntimeException ( Throwable  exception  ) 

Creates a new MappingRuntimeException

Parameters:
exception the Exception which caused this Exception.
org.exolab.castor.mapping.MappingRuntimeException.MappingRuntimeException ( Throwable  exception,
String  message 
)

Creates a new MappingRuntimeException

Parameters:
exception the Exception which caused this Exception.
message the error message

Member Function Documentation

Throwable org.exolab.castor.mapping.MappingRuntimeException.getException (  ) 

Returns the Exception which caused this Exception, or null if no nested exception exists.

Returns:
the nested Exception.
void org.exolab.castor.mapping.MappingRuntimeException.printStackTrace ( PrintWriter  print  ) 
void org.exolab.castor.mapping.MappingRuntimeException.printStackTrace ( PrintStream  print  ) 
void org.exolab.castor.mapping.MappingRuntimeException.printStackTrace (  ) 

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties