public class APIException extends Exception
They may wrap the root cause of the problem such as an IO or parsing error.
Or they may be thrown when an would have been caused in PageSeeder and the API pre-emptively threw an exception to abort the method.
Constructor and Description |
---|
APIException()
A new exception thrown by the API with no message or other exception causing the problem.
|
APIException(String message)
Creates a new exception with the specified message.
|
APIException(String message,
Throwable cause)
Create a new exception from a different error and an explanation.
|
APIException(Throwable cause)
Create a new exception from a different error.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public APIException()
public APIException(String message)
message
- the explanation for the error.public APIException(Throwable cause)
cause
- the cause of the error.Copyright © 2016 Allette Systems. All rights reserved.