|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
joperties.exceptions.JopertiesException
joperties.exceptions.NoApropriateInterpeterFoundException
public class NoApropriateInterpeterFoundException
This exception is thrown when no registered interpreter is found.
| Field Summary | |
|---|---|
private java.lang.Class<?> |
classToInterpret
This holds the class that no interpreter was found for. |
private static long |
serialVersionUID
|
private java.lang.String |
stringToInterpret
This optionally holds the string that was not interpretet. |
| Constructor Summary | |
|---|---|
NoApropriateInterpeterFoundException(java.lang.Class<?> classToInterpret)
This constructs the exception. |
|
NoApropriateInterpeterFoundException(java.lang.Class<?> classToInterpret,
java.lang.String stringToInterpret)
This constructs the exception. |
|
| Method Summary | |
|---|---|
java.lang.Class<?> |
getNotInterpretedClass()
This method returns the class that an interpreter was not found for. |
java.lang.String |
getStringToInterpret()
This method returns the string that was meant to be interpreted. |
| 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 |
| Field Detail |
|---|
private static final long serialVersionUID
private java.lang.Class<?> classToInterpret
private java.lang.String stringToInterpret
| Constructor Detail |
|---|
public NoApropriateInterpeterFoundException(java.lang.Class<?> classToInterpret,
java.lang.String stringToInterpret)
stringToInterpret - The class that was meant to be interpreted.classToInterpret - (Optional) the string that was meant to be interpreted (can be
null).public NoApropriateInterpeterFoundException(java.lang.Class<?> classToInterpret)
classToInterpret - The class that was meant to be interpreted.| Method Detail |
|---|
public java.lang.Class<?> getNotInterpretedClass()
public java.lang.String getStringToInterpret()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||