|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
de.bsvrz.kex.bwsin.konfig.okstra.IllegalAttributeConversionException
public class IllegalAttributeConversionException
Exception für Ausnahmen bei der Konvertierung von Feature-Attributen.
| Field Summary | |
|---|---|
private Class |
expected
The expected type. |
private Object |
invalid
The object that does not match the expected type. |
private static long |
serialVersionUID
serialVersionUID. |
| Constructor Summary | |
|---|---|
IllegalAttributeConversionException(Class<?> expected,
Object invalid)
Constructor that makes the message given the expected and invalid. |
|
IllegalAttributeConversionException(Class<?> expected,
Object invalid,
Throwable cause)
Constructor that makes the message given the expected and invalid, along with the root cause. |
|
IllegalAttributeConversionException(String message)
Constructor with message argument. |
|
| Method Summary | |
|---|---|
(package private) static String |
errorMessage(Class<?> expected,
Object invalid)
Constructs an error message based on expected and invalid. |
String |
toString()
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private final Class expected
private final Object invalid
| Constructor Detail |
|---|
public IllegalAttributeConversionException(Class<?> expected,
Object invalid)
expected - the expected AttributeType.invalid - the attribute that does not validate against expected.
public IllegalAttributeConversionException(Class<?> expected,
Object invalid,
Throwable cause)
expected - the expected AttributeType.invalid - the attribute that does not validate against expected.cause - the root cause of the error.public IllegalAttributeConversionException(String message)
message - Reason for the exception being thrown| Method Detail |
|---|
static String errorMessage(Class<?> expected,
Object invalid)
expected - the expected AttributeType.invalid - the attribute that does not validate against expected.
public String toString()
toString in class ThrowableThrowable.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||