Package org.apache.rat.api
Class RatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.rat.api.RatException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRatException
(String message) RatException
(String message, Throwable cause) RatException
(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionstatic RatException
makeRatException
(Exception exception) Creates a RatException out of any other type of exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RatException
public RatException() -
RatException
-
RatException
-
RatException
-
-
Method Details
-
makeRatException
Creates a RatException out of any other type of exception. If the exception is already a RatException, just return it.- Parameters:
exception
- the exception to convert.- Returns:
- A RatException.
-