|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException de.smartics.properties.api.core.app.PropertyRootException de.smartics.properties.api.core.domain.PropertyException
public class PropertyException
Base exception of the library for signaling an unspecific cause that is concerned with a specific property.
Constructor Summary | |
---|---|
PropertyException(String message, PropertyKey propertyKey) Convenience constructor. |
|
PropertyException(String message, Throwable cause, PropertyKey propertyKey) Default constructor. |
|
PropertyException(Throwable cause, PropertyKey propertyKey) Convenience constructor. |
Method Summary | |
---|---|
PropertyKey |
getPropertyKey() Returns the key of the property raising the exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PropertyException(String message, Throwable cause, PropertyKey propertyKey)
message
- the detail message (which is saved for later retrieval by the
Throwable.getMessage()
method).
cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A
null value is permitted, and indicates that the cause is nonexistent or unknown.)
propertyKey
- the key of the property raising the exception.
RuntimeException.RuntimeException(java.lang.String,java.lang.Throwable)
public PropertyException(String message, PropertyKey propertyKey)
message
- the detail message (which is saved for later retrieval by the
Throwable.getMessage()
method).
propertyKey
- the key of the property raising the exception.
RuntimeException.RuntimeException(java.lang.String,java.lang.Throwable)
public PropertyException(Throwable cause, PropertyKey propertyKey)
cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A
null value is permitted, and indicates that the cause is nonexistent or unknown.)
propertyKey
- the key of the property raising the exception.
RuntimeException.RuntimeException(java.lang.String,java.lang.Throwable)
Method Detail |
---|
public final PropertyKey getPropertyKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |