org.portico.shared.compat
Class JException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.portico.shared.compat.JException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- JArrayIndexOutOfBounds, JAttributeNotDefined, JAttributeNotOwned, JAttributeNotPublished, JConcurrentAccessAttempted, JCouldNotOpenFED, JDeletePrivilegeNotHeld, JEnableTimeConstrainedPending, JEnableTimeRegulationPending, JErrorReadingFED, JFederateAlreadyExecutionMember, JFederateNotExecutionMember, JFederateOwnsAttributes, JFederatesCurrentlyJoined, JFederationExecutionAlreadyExists, JFederationExecutionDoesNotExist, JFederationTimeAlreadyPassed, JInteractionClassNotDefined, JInteractionClassNotPublished, JInteractionClassNotSubscribed, JInteractionParameterNotDefined, JInvalidExtents, JInvalidFederationTime, JInvalidLookahead, JInvalidRegionContext, JInvalidResignAction, JObjectAlreadyRegistered, JObjectClassNotDefined, JObjectClassNotPublished, JObjectClassNotSubscribed, JObjectNotKnown, JOwnershipAcquisitionPending, JRegionInUse, JRegionNotKnown, JRestoreInProgress, JRestoreNotRequested, JRTIinternalError, JSaveInProgress, JSaveNotInitiated, JSpaceNotDefined, JSynchronizationLabelNotAnnounced, JTimeAdvanceAlreadyInProgress, JTimeConstrainedAlreadyEnabled, JTimeConstrainedWasNotEnabled, JTimeRegulationAlreadyEnabled, JTimeRegulationWasNotEnabled
public class JException
- extends Exception
This is the Portico version of RTIexception (and should be treated as such). Sadly, the
DLC specified exception don't include any way to set a root cause (something I consider
a cardinal sin - when dealing with errors you need as much information as possible!).This class
includes a method to get an RTIinternalError instance from it to save anyone doing any
conversion between it and RTI problems.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
JException
public JException()
- Just create an empty exception
JException
public JException(String message)
- Parameters:
message
- The message to create the exception with
JException
public JException(Throwable cause)
- Parameters:
cause
- The cause of the exception
JException
public JException(String message,
Throwable cause)
- Parameters:
message
- The message to create the exception withcause
- The cause of the exception
asRTIError
public JRTIinternalError asRTIError()