sun.security.provider
Class PolicyParser.ParsingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.security.GeneralSecurityException
sun.security.provider.PolicyParser.ParsingException
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- PolicyParser
public static class PolicyParser.ParsingException
- extends GeneralSecurityException
- See Also:
- Serialized Form
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)
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.