|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.legstar.coxb.host.HostException
public class HostException
Host exceptions trace java to host conversions issues.
Constructor Summary | |
---|---|
HostException(Exception e)
Constructor from an inner exception. |
|
HostException(String message)
Contructor used when no host field exists. |
|
HostException(String message,
HostData hostField,
int errorOffset)
Contructor used when host field exist. |
|
HostException(String message,
HostData hostField,
int errorOffset,
int errorLength)
Contructor used when host field exist and size is known. |
Method Summary | |
---|---|
String |
getMessage()
|
String |
toString()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HostException(String message)
message
- text describing the issuepublic HostException(String message, HostData hostField, int errorOffset)
message
- text describing the issuehostField
- host field on which the error occurederrorOffset
- position in host field where error occuredpublic HostException(String message, HostData hostField, int errorOffset, int errorLength)
message
- text describing the issuehostField
- host field on which the error occurederrorOffset
- position in host data where faulty field startserrorLength
- length of faulty fieldpublic HostException(Exception e)
e
- the inner exceptionMethod Detail |
---|
public String getMessage()
getMessage
in class Throwable
Throwable.getMessage()
public String toString()
toString
in class Throwable
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |