Method | Result |
getMessage() | Returns a string that contains the exception message. |
getStackTrace() | Returns a sequence of StackTraceElement objects that represent the stack trace for when the exception was first thrown. |
getType() | Returns a string that contains the exception type. |
toString() | Returns a string that contains the exception message and the exception type. |
toStringWithStackTrace() | Returns a string that contains the exception message, the exception type, and the stack trace elements. |