Class DynamicInformationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.ametys.plugins.linkdirectory.dynamic.DynamicInformationException
-
- All Implemented Interfaces:
Serializable
public class DynamicInformationException extends RuntimeException
Common exception for dynamic information- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDynamicInformationException.ExceptionTypeEnum for type of exception
-
Constructor Summary
Constructors Constructor Description DynamicInformationException(String message)Constructs a new exception with the specified detail message.DynamicInformationException(String message, Throwable cause)Constructs a new exception with the specified detail message and cause.DynamicInformationException(String message, DynamicInformationException.ExceptionType type)Constructs a new exception with the specified detail message.DynamicInformationException(String message, DynamicInformationException.ExceptionType type, Throwable cause)Constructs a new exception with the specified detail message and cause.DynamicInformationException(Throwable cause)Constructs a new exception with the specified cause.DynamicInformationException(DynamicInformationException.ExceptionType type, Throwable cause)Constructs a new exception with the specified cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DynamicInformationException.ExceptionTypegetType()Get the type of exception-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DynamicInformationException
public DynamicInformationException(String message)
Constructs a new exception with the specified detail message.- Parameters:
message- the detail message.
-
DynamicInformationException
public DynamicInformationException(String message, DynamicInformationException.ExceptionType type)
Constructs a new exception with the specified detail message.- Parameters:
message- the detail message.type- reason of the exception
-
DynamicInformationException
public DynamicInformationException(String message, Throwable cause)
Constructs a new exception with the specified detail message and cause.- Parameters:
message- the detail message.cause- the cause.
-
DynamicInformationException
public DynamicInformationException(String message, DynamicInformationException.ExceptionType type, Throwable cause)
Constructs a new exception with the specified detail message and cause.- Parameters:
message- the detail message.type- reason of the exceptioncause- the cause.
-
DynamicInformationException
public DynamicInformationException(Throwable cause)
Constructs a new exception with the specified cause.- Parameters:
cause- the specified cause.
-
DynamicInformationException
public DynamicInformationException(DynamicInformationException.ExceptionType type, Throwable cause)
Constructs a new exception with the specified cause.- Parameters:
type- reason of the exceptioncause- the specified cause.
-
-
Method Detail
-
getType
public DynamicInformationException.ExceptionType getType()
Get the type of exception
-
-