|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectThrowable
Exception
NonconvertibleObjectException
public class NonconvertibleObjectException
Thrown when an object can not be converted from the source type the target type.
| utility/geotk-utility (download) | View source code for this class |
| Constructor Summary | |
|---|---|
NonconvertibleObjectException()
Constructs a new exception with no message. |
|
NonconvertibleObjectException(String message)
Constructs a new exception with the specified detail message. |
|
NonconvertibleObjectException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause. |
|
NonconvertibleObjectException(Throwable cause)
Constructs a new exception with the specified cause. |
|
| Method Summary | |
|---|---|
List<Exception> |
allAttempts()
Returns the reasons why the conversion failed. |
| Methods inherited from class Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NonconvertibleObjectException()
public NonconvertibleObjectException(String message)
message - The detail message.
public NonconvertibleObjectException(String message,
Throwable cause)
message - The detail message.cause - The cause.public NonconvertibleObjectException(Throwable cause)
cause - The cause.| Method Detail |
|---|
public final List<Exception> allAttempts()
The returned list is modifiable; callers can add additional causes to this list.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||