public class UnknownFormatException extends Exception
Constructor and Description |
---|
UnknownFormatException()
Default constructor - initializes instance variable to unknown
|
UnknownFormatException(String err)
Constructor receives some kind of message that is saved in an instance
variable.
|
Modifier and Type | Method and Description |
---|---|
String |
getError()
public method, callable by exception catcher.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnknownFormatException()
public UnknownFormatException(String err)
err
- a String object to use within the Execptionpublic String getError()
Copyright © 2009–2016 Crawler-Commons. All rights reserved.