sun.security.provider
Class PolicyParser.ParsingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.security.GeneralSecurityException
              extended by sun.security.provider.PolicyParser.ParsingException
All Implemented Interfaces:
Serializable
Enclosing class:
PolicyParser

public static class PolicyParser.ParsingException
extends GeneralSecurityException

See Also:
Serialized Form

Constructor Summary
PolicyParser.ParsingException(int line, String msg)
           
PolicyParser.ParsingException(int line, String expect, String actual)
           
PolicyParser.ParsingException(String msg)
          Constructs a ParsingException with the specified detail message.
 
Method Summary
 String getLocalizedMessage()
          Creates a localized description of this throwable.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, 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

PolicyParser.ParsingException

public PolicyParser.ParsingException(String msg)
Constructs a ParsingException with the specified detail message. A detail message is a String that describes this particular exception, which may, for example, specify which algorithm is not available.

Parameters:
msg - the detail message.

PolicyParser.ParsingException

public PolicyParser.ParsingException(int line,
                                     String msg)

PolicyParser.ParsingException

public PolicyParser.ParsingException(int line,
                                     String expect,
                                     String actual)
Method Detail

getLocalizedMessage

public String getLocalizedMessage()
Description copied from class: Throwable
Creates a localized description of this throwable. Subclasses may override this method in order to produce a locale-specific message. For subclasses that do not override this method, the default implementation returns the same result as getMessage().

Overrides:
getLocalizedMessage in class Throwable
Returns:
The localized description of this throwable.