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
ConstructorsConstructorDescriptionPerunBeanNotSupportedException(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 PerunException
getErrorId, getFriendlyMessageTemplate, getMessage, getName, setErrorIdMethods inherited from class 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
-
PerunBeanNotSupportedException
-
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
-
-
Method Details
-
getComplementaryObject
Getter for the PerunBean object- Returns:
- PerunBean object which is not supported
-