|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception ch.panter.li.bi.asn.AsnException ch.panter.li.bi.asn.ber.AsnBerException
public class AsnBerException
The base for ASN.1 BER-encoding related exceptions.
Constructor Summary | |
---|---|
AsnBerException(long offset)
Creates a new instance without message |
|
AsnBerException(long offset,
String message)
Creates a new instance with the given message |
|
AsnBerException(long offset,
String message,
Throwable cause)
Creates a new instance with the given message and causing throwable. |
|
AsnBerException(long offset,
Throwable cause)
Creates a new instance without message and with the given causing throwable. |
Method Summary | |
---|---|
long |
getOffset()
Returns the offset in the BER stream where the error was detected. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AsnBerException(long offset)
offset
- the offset in the BER stream, where the error was detectedpublic AsnBerException(long offset, String message)
offset
- the offset in the BER stream, where the error was detectedmessage
- the error messagepublic AsnBerException(long offset, Throwable cause)
offset
- the offset in the BER stream, where the error was detectedcause
- the original error causing this onepublic AsnBerException(long offset, String message, Throwable cause)
offset
- the offset in the BER stream, where the error was detectedmessage
- the error messagecause
- the original error causing this oneMethod Detail |
---|
public long getOffset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |