|
|||||||||||
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 net.sf.jmimemagic.MagicParseException
Basic JMimeMagic parse exception. This is simply a holder to identify a parsing problem. It should be extended to identify more specific issues.
Constructor Summary | |
MagicParseException()
Default constructor |
|
MagicParseException(java.lang.String message)
Create exception with error message |
|
MagicParseException(java.lang.String message,
java.lang.Throwable cause)
Create an exception with custom message and throwable info |
|
MagicParseException(java.lang.Throwable cause)
Create exception based on an existing Throwable |
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 MagicParseException()
public MagicParseException(java.lang.String message)
message
- The error message for this exceptionpublic MagicParseException(java.lang.Throwable cause)
cause
- The throwable on which we'll base this exceptionpublic MagicParseException(java.lang.String message, java.lang.Throwable cause)
message
- The messagecause
- The target Throwable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |