Package com.codedjson.exceptions
Class AbsolutePathConstraintError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.codedjson.exceptions.AbsolutePathConstraintError
-
- All Implemented Interfaces:
Serializable
public class AbsolutePathConstraintError extends Exception
Exception class, thrown whenCJson(String)
object contains relative paths in import statement instead of absolute paths.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbsolutePathConstraintError()
Default constructor.
Default message:Expected absolute path in import statement but got relative
AbsolutePathConstraintError(String message)
Absolute/Relative path errors are caught with custom error message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AbsolutePathConstraintError
public AbsolutePathConstraintError(String message)
Absolute/Relative path errors are caught with custom error message.- Parameters:
message
- Error message inString
format
-
AbsolutePathConstraintError
public AbsolutePathConstraintError()
Default constructor.
Default message:Expected absolute path in import statement but got relative
-
-