IdentifierException
, UnitException
, UnitException
public class SBMLException extends XMLException
Modifier and Type | Class | Description |
---|---|---|
static class |
SBMLException.Category |
Category of this exception.
|
static class |
SBMLException.Code |
Error codes.
|
static class |
SBMLException.Type |
Constructor | Description |
---|---|
SBMLException() |
Creates a new
SBMLException instance. |
SBMLException(java.lang.String message) |
Creates a new
SBMLException instance. |
SBMLException(java.lang.String message,
java.lang.Throwable cause) |
Creates a new
SBMLException instance. |
SBMLException(java.lang.Throwable cause) |
Creates a new
SBMLException instance. |
Modifier and Type | Method | Description |
---|---|---|
SBMLException.Category |
getCategory() |
|
SBMLException.Code |
getCode() |
|
java.lang.String |
getShortMessage() |
|
SBMLException.Type |
getType() |
|
boolean |
isError() |
|
boolean |
isFatal() |
|
boolean |
isInfo() |
|
boolean |
isInternal() |
|
boolean |
isSystem() |
|
boolean |
isWarning() |
|
boolean |
isXML() |
|
void |
setCategory(SBMLException.Category category) |
|
void |
setCode(SBMLException.Code code) |
|
void |
setError(boolean error) |
|
void |
setFatal(boolean fatal) |
|
void |
setInfo(boolean info) |
|
void |
setInternal(boolean internal) |
|
void |
setShortMessage(java.lang.String shortMessage) |
|
void |
setSystem(boolean system) |
|
void |
setWarning(boolean warning) |
|
void |
setXML(boolean xml) |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
getErrorId
public SBMLException()
SBMLException
instance.public SBMLException(java.lang.String message)
SBMLException
instance.message
- the exception message.public SBMLException(java.lang.String message, java.lang.Throwable cause)
SBMLException
instance.message
- the exception message.cause
- a Throwable
that is the cause of the original problem.public SBMLException(java.lang.Throwable cause)
SBMLException
instance.cause
- a Throwable
that is the cause of the original problem.public SBMLException.Category getCategory()
public SBMLException.Code getCode()
public java.lang.String getShortMessage()
public SBMLException.Type getType()
public boolean isError()
public boolean isFatal()
public boolean isInfo()
public boolean isInternal()
public boolean isSystem()
public boolean isWarning()
public boolean isXML()
public void setCategory(SBMLException.Category category)
category
- public void setCode(SBMLException.Code code)
code
- public void setError(boolean error)
error
- public void setFatal(boolean fatal)
fatal
- public void setInfo(boolean info)
info
- public void setInternal(boolean internal)
internal
- public void setShortMessage(java.lang.String shortMessage)
shortMessage
- public void setSystem(boolean system)
system
- public void setWarning(boolean warning)
warning
- public void setXML(boolean xml)
xml
-