Package jmri
Class JmriException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- jmri.JmriException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AbortConditionalNGExecutionException
,AudioException
,DCCppMessageException
,ExpressionLinuxLinePower.NoPowerSuppliesException
,InvalidConditionalActionException
,InvalidConditionalVariableException
,JmriConfigureXmlException
,LocoNetException
,LocoNetMessageException
,MemoryContents.MemoryFileException
,MrcException
,MrcMessageException
,Mx1Exception
,Mx1MessageException
,NetworkConfigException
,ParserException
,PassThruException
,PermissionManager.BadPasswordException
,PermissionManager.BadUserOrPasswordException
,PermissionManager.RoleAlreadyExistsException
,PermissionManager.RoleDoesNotExistException
,PermissionManager.UserAlreadyExistsException
,PermissionManager.UserDoesNotExistException
,Positionable.DuplicateIdException
,ProgrammerException
,SerialConfigException
,SocketAlreadyConnectedException
,TimebaseRateException
,XNetException
,XNetMessageException
,Z21SimulatorAdapter.LogoffException
public class JmriException extends java.lang.Exception
Base for JMRI-specific exceptions. No functionality, just used to confirm type-safety.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JmriException()
JmriException(java.lang.String s)
JmriException(java.lang.String s, java.lang.Throwable t)
JmriException(java.lang.String s, java.util.List<java.lang.String> errors)
JmriException(java.lang.String s, java.util.List<java.lang.String> errors, java.lang.Throwable t)
JmriException(java.lang.Throwable t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
getErrors()
java.lang.String
getLocalizedMessage()
java.lang.String
getMessage()
-
-
-
Constructor Detail
-
JmriException
public JmriException(java.lang.String s, java.lang.Throwable t)
-
JmriException
public JmriException(java.lang.String s)
-
JmriException
public JmriException(java.lang.Throwable t)
-
JmriException
public JmriException()
-
JmriException
public JmriException(java.lang.String s, java.util.List<java.lang.String> errors)
-
JmriException
public JmriException(java.lang.String s, java.util.List<java.lang.String> errors, java.lang.Throwable t)
-
-
Method Detail
-
getErrors
public java.util.List<java.lang.String> getErrors()
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
-
getLocalizedMessage
public java.lang.String getLocalizedMessage()
- Overrides:
getLocalizedMessage
in classjava.lang.Throwable
-
-