Package org.javarosa.core.reference
Class InvalidReferenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.javarosa.core.reference.InvalidReferenceException
- All Implemented Interfaces:
Serializable
public class InvalidReferenceException extends Exception
An invalid reference exception is thrown whenever
a URI string cannot be resolved to a reference in
the current environment. Just because an invalid
reference exception is not thrown does not mean
that there is a binary data blob at the created
reference, only that it has meaning and could refer
to something in the current environment.
- Author:
- ctsims
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description InvalidReferenceException(String message, String reference)A new exception implying that a URI could not be resolved to a reference. -
Method Summary
Modifier and Type Method Description StringgetReferenceString()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidReferenceException
A new exception implying that a URI could not be resolved to a reference.- Parameters:
message- The failure message for why the URI could not be resolved.reference- The URI which was unable to be resolved.
-
-
Method Details