Class PerunBeanNotSupportedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.PerunBeanNotSupportedException
- All Implemented Interfaces:
Serializable
Checked version of PerunBeanNotSupportedException.
This exception is thrown when somewhere in code is object PerunBean but this one is not supported there for some reason.
- Author:
- Michal Stava
- See Also:
-
Constructor Summary
ConstructorDescriptionPerunBeanNotSupportedException
(String message) Simple constructor with a messagePerunBeanNotSupportedException
(String message, PerunBean complementaryObject) PerunBeanNotSupportedException
(String message, PerunBean complementaryObject, Throwable cause) Constructor with the cause, the PerunBean object and the messagePerunBeanNotSupportedException
(String message, Throwable cause) Constructor with a message and Throwable objectConstructor with a Throwable objectPerunBeanNotSupportedException
(Throwable cause, PerunBean complementaryObject) Constructor with the cause and the PerunBean object -
Method Summary
Modifier and TypeMethodDescriptionGetter for the PerunBean objectMethods inherited from class cz.metacentrum.perun.core.api.exceptions.PerunException
getErrorId, getFriendlyMessageTemplate, getMessage, getName, setErrorId
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PerunBeanNotSupportedException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
PerunBeanNotSupportedException
- Parameters:
message
- message with details about the causecomplementaryObject
- PerunBean object which is not supported
-
PerunBeanNotSupportedException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
PerunBeanNotSupportedException
public PerunBeanNotSupportedException(String message, PerunBean complementaryObject, Throwable cause) Constructor with the cause, the PerunBean object and the message- Parameters:
message
- message with details about the causecomplementaryObject
- PerunBean object which is not supportedcause
- Throwable that caused throwing of this exception
-
PerunBeanNotSupportedException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
PerunBeanNotSupportedException
Constructor with the cause and the PerunBean object- Parameters:
cause
- Throwable that caused throwing of this exceptioncomplementaryObject
- PerunBean object which is not supported
-
-
Method Details
-
getComplementaryObject
Getter for the PerunBean object- Returns:
- PerunBean object which is not supported
-