org.apache.accumulo.core.security
Class VisibilityParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.text.ParseException
              extended by 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
VisibilityParseException(String reason, byte[] visibility, int errorOffset)
          Creates a new exception.
 
Method Summary
 String getMessage()
           
 
Methods inherited from class java.text.ParseException
getErrorOffset
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VisibilityParseException

public VisibilityParseException(String reason,
                                byte[] visibility,
                                int errorOffset)
Creates a new exception.

Parameters:
reason - reason string
visibility - visibility that could not be parsed
errorOffset - offset into visibility where parsing failed
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2015 Apache Accumulo Project. All rights reserved.