Class VisibilityParseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.text.ParseException
-
- org.apache.accumulo.core.security.VisibilityParseException
-
- All Implemented Interfaces:
Serializable
public class VisibilityParseException extends ParseException
An exception thrown when a visibility string cannot be parsed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VisibilityParseException(String reason, byte[] visibility, int errorOffset)
Creates a new exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
-
Methods inherited from class java.text.ParseException
getErrorOffset
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
VisibilityParseException
public VisibilityParseException(String reason, byte[] visibility, int errorOffset)
Creates a new exception.- Parameters:
reason
- reason stringvisibility
- visibility that could not be parsederrorOffset
- offset into visibility where parsing failed
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
-