Class InvalidPropertyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- ca.corefacility.bioinformatics.irida.exceptions.InvalidPropertyException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidPropertyException extends java.lang.RuntimeException
Thrown when a property cannot be set or retrieved by a service class.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidPropertyException(java.lang.String message)
InvalidPropertyException(java.lang.String message, java.lang.Class<? extends java.lang.Object> affectedClass)
Create a newInvalidPropertyException
with the given invalid classInvalidPropertyException(java.lang.String message, java.lang.Class<? extends java.lang.Object> affectedClass, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<? extends java.lang.Object>
getAffectedClass()
-
-
-
Constructor Detail
-
InvalidPropertyException
public InvalidPropertyException(java.lang.String message, java.lang.Class<? extends java.lang.Object> affectedClass)
Create a newInvalidPropertyException
with the given invalid class- Parameters:
message
- A message stating the exceptionaffectedClass
- The class where the invalid property was requested
-
InvalidPropertyException
public InvalidPropertyException(java.lang.String message, java.lang.Class<? extends java.lang.Object> affectedClass, java.lang.Throwable cause)
-
InvalidPropertyException
public InvalidPropertyException(java.lang.String message)
-
-