Package org.ametys.core.right
Class RightsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.ametys.core.right.RightsException
-
- All Implemented Interfaces:
Serializable
public class RightsException extends RuntimeException
Common exception for all rights related problems.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RightsException(String message)
Constructs a new exception with the specified detail message.RightsException(String message, Throwable cause)
Constructs a new exception with the specified detail message and cause.RightsException(Throwable cause)
Constructs a new exception with the specified cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RightsException
public RightsException(String message)
Constructs a new exception with the specified detail message.- Parameters:
message
- the detail message.
-
RightsException
public RightsException(String message, Throwable cause)
Constructs a new exception with the specified detail message and cause.- Parameters:
message
- the detail message.cause
- the cause.
-
RightsException
public RightsException(Throwable cause)
Constructs a new exception with the specified cause.- Parameters:
cause
- the specified cause.
-
-