Package io.milton.property
Class PropertySource.PropertySetException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.milton.property.PropertySource.PropertySetException
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- PropertySource
public static class PropertySource.PropertySetException extends RuntimeException
Exception from setting a field- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PropertySetException(Response.Status status, String notes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorNotes()Should contain a human readable description of the problemResponse.StatusgetStatus()A response code indicating the problem.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PropertySetException
public PropertySetException(Response.Status status, String notes)
-
-
Method Detail
-
getStatus
public Response.Status getStatus()
A response code indicating the problem. Eg 500 for a processing error, or conflict, forbidden, etc- Returns:
-
getErrorNotes
public String getErrorNotes()
Should contain a human readable description of the problem- Returns:
-
-