List of all members.
Detailed Description
The base exception for Castor (or at least Castor XML)
- Author:
- Keith Visco
- Version:
- Revision:
- 1.3
- Date:
- 2004/11/28 15:37:00
Constructor & Destructor Documentation
org.exolab.castor.core.exceptions.CastorException.CastorException |
( |
|
) |
|
org.exolab.castor.core.exceptions.CastorException.CastorException |
( |
String |
message |
) |
|
Creates a new CastorException with the given message.
- Parameters:
-
| message | the message for this Exception |
org.exolab.castor.core.exceptions.CastorException.CastorException |
( |
String |
message, |
|
|
Throwable |
cause | |
|
) |
| | |
Creates a new CastorException with the given message and cause.
- Parameters:
-
| message | The message for this exception. |
| cause | A Throwable instance. |
org.exolab.castor.core.exceptions.CastorException.CastorException |
( |
Throwable |
cause |
) |
|
Creates a new CastorException with the given cause.
- Parameters:
-
| cause | A Throwable instance. |
Member Function Documentation
Throwable org.exolab.castor.core.exceptions.CastorException.getCause |
( |
|
) |
|
Throwable org.exolab.castor.core.exceptions.CastorException.getException |
( |
|
) |
|
Match some internal API and some surrounding API to provide this method.
- Returns:
- the exception, which in turn caused this Exception to be thrown, or null if nested exception exists.
- Deprecated:
- Please move to getCause().
String org.exolab.castor.core.exceptions.CastorException.getMessage |
( |
|
) |
|
Return the detailed message from this exception. Chain message information from child exceptions into it, so that the message shows the chain of message information available.
Referenced by org.exolab.castor.xml.XMLMappingLoader.createDescriptor(), org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.GroupUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.ExtensionUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.ComplexTypeUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.ComplexContentRestrictionUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.AttributeGroupUnmarshaller.endElement(), org.exolab.castor.builder.SourceGenerator.generateSource(), org.exolab.castor.xml.schema.reader.WildcardUnmarshaller.init(), alma.acs.logging.config.LogConfig.initialize(), org.exolab.castor.xml.handlers.CollectionFieldHandler.setValue(), org.exolab.castor.xml.XMLException.toString(), and org.exolab.castor.xml.ValidationException.toString().
synchronized Throwable org.exolab.castor.core.exceptions.CastorException.initCause |
( |
Throwable |
cause |
) |
|
Match the JDK 1.4 Throwable version of initCause() on JDK<1.4 systems.
- Parameters:
-
| cause | The throwable you wish to attach to this exception as the 'cause' of the exception. |
- Returns:
- This exception. (Throwable also returns this, not the cause.)
void org.exolab.castor.core.exceptions.CastorException.printStackTrace |
( |
PrintStream |
s |
) |
|
Print a stack trace to the specified PrintStream.
- Parameters:
-
| s | The PrintStream to print a stack trace to. |
void org.exolab.castor.core.exceptions.CastorException.printStackTrace |
( |
PrintWriter |
w |
) |
|
Print a stack trace to the specified PrintWriter.
- Parameters:
-
| w | The PrintWriter to print a stack trace to. |
void org.exolab.castor.core.exceptions.CastorException.printStackTrace |
( |
|
) |
|
Print a stack trace to stderr.
Referenced by cl.utfsm.acs.acg.dao.ACSAlarmDAOImpl.addFaultFamily(), org.exolab.castor.types.RecurringDurationBase.equals(), org.exolab.castor.types.RecurringDuration.equals(), cl.utfsm.acs.acg.dao.ACSCategoryDAOImpl.flushCategories(), cl.utfsm.acs.acg.dao.ACSAlarmSystemDAOImpl.flushConfiguration(), cl.utfsm.acs.acg.dao.ACSAlarmDAOImpl.flushReductionRules(), org.exolab.castor.builder.SourceGenerator.generateSource(), cl.utfsm.acs.acg.dao.ACSCategoryDAOImpl.getCategories(), cl.utfsm.acs.acg.dao.ACSAlarmSystemDAOImpl.getConfiguration(), alma.acs.tools.comphelpergen.CompHelperGenerator.getFilePar(), cl.utfsm.acs.acg.dao.ACSAlarmDAOImpl.getReductionRules(), cl.utfsm.acs.acg.core.ReductionManager.saveToCDB(), cl.utfsm.acs.acg.core.CategoryManager.saveToCDB(), cl.utfsm.acs.acg.core.AlarmManager.saveToCDB(), and cl.utfsm.acs.acg.dao.ACSAlarmDAOImpl.updateFaultFamily().
The documentation for this class was generated from the following file: