|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjimm.twice.ice.IceFault
Holds a fault code and optional location URI string.
Field Summary | |
protected int |
errorCode
|
protected java.lang.String |
errorPhrase
|
protected java.lang.String |
extraMessage
|
protected java.lang.String |
location
|
Constructor Summary | |
IceFault(int code)
Constructor. |
|
IceFault(int code,
java.lang.String extraMessage)
Constructor. |
|
IceFault(int code,
java.lang.String extraMessage,
java.lang.String location)
Constructor. |
Method Summary | |
int |
getErrorCode()
Returns the error code number. |
java.lang.String |
getErrorMessage()
|
java.lang.String |
getErrorPhrase()
Returns the error phrase. |
java.lang.String |
getLocation()
Returns the location URI as a string. |
void |
setErrorMessage(java.lang.String msg)
|
void |
setLocation(java.lang.String loc)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected int errorCode
protected java.lang.String location
protected java.lang.String errorPhrase
protected java.lang.String extraMessage
Constructor Detail |
public IceFault(int code)
code
- the ICE code numberpublic IceFault(int code, java.lang.String extraMessage)
code
- the ICE code numberextraMessage
- an extra explanatory message; may be null
public IceFault(int code, java.lang.String extraMessage, java.lang.String location)
code
- the ICE code numberextraMessage
- an extra explanatory message; may be null
location
- the location URI as a string; may be null
Method Detail |
public int getErrorCode()
public java.lang.String getLocation()
null
.
null
public void setLocation(java.lang.String loc)
public java.lang.String getErrorPhrase()
public java.lang.String getErrorMessage()
public void setErrorMessage(java.lang.String msg)
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |