Class UrnSyntaxException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.openmanufacturing.sds.aspectmodel.urn.UrnSyntaxException
-
- All Implemented Interfaces:
Serializable
public class UrnSyntaxException extends RuntimeException
Custom exception to be used when a URN identifying an Aspect Model is invalid.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringURN_INVALID_ELEMENT_NAME_MESSAGEstatic StringURN_INVALID_ELEMENT_TYPEstatic StringURN_INVALID_NAMESPACE_IDENTIFIER_MESSAGEstatic StringURN_INVALID_NAMESPACE_MESSAGEstatic StringURN_INVALID_PROTOCOL_MESSAGEstatic StringURN_INVALID_VERSIONstatic StringURN_IS_MISSING_SECTIONS_MESSAGEstatic StringURN_IS_NO_URIstatic StringURN_IS_NULL_MESSAGEstatic StringURN_IS_TOO_LONG
-
Constructor Summary
Constructors Constructor Description UrnSyntaxException(String message)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
URN_IS_NULL_MESSAGE
public static final String URN_IS_NULL_MESSAGE
- See Also:
- Constant Field Values
-
URN_IS_MISSING_SECTIONS_MESSAGE
public static final String URN_IS_MISSING_SECTIONS_MESSAGE
- See Also:
- Constant Field Values
-
URN_IS_TOO_LONG
public static final String URN_IS_TOO_LONG
- See Also:
- Constant Field Values
-
URN_INVALID_PROTOCOL_MESSAGE
public static final String URN_INVALID_PROTOCOL_MESSAGE
- See Also:
- Constant Field Values
-
URN_INVALID_NAMESPACE_IDENTIFIER_MESSAGE
public static final String URN_INVALID_NAMESPACE_IDENTIFIER_MESSAGE
- See Also:
- Constant Field Values
-
URN_INVALID_NAMESPACE_MESSAGE
public static final String URN_INVALID_NAMESPACE_MESSAGE
- See Also:
- Constant Field Values
-
URN_INVALID_ELEMENT_NAME_MESSAGE
public static final String URN_INVALID_ELEMENT_NAME_MESSAGE
- See Also:
- Constant Field Values
-
URN_IS_NO_URI
public static final String URN_IS_NO_URI
- See Also:
- Constant Field Values
-
URN_INVALID_ELEMENT_TYPE
public static final String URN_INVALID_ELEMENT_TYPE
- See Also:
- Constant Field Values
-
URN_INVALID_VERSION
public static final String URN_INVALID_VERSION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UrnSyntaxException
public UrnSyntaxException(String message)
-
-