public static class

PolicyParser.ParsingException

extends GeneralSecurityException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.security.GeneralSecurityException
         ↳ sun.security.provider.PolicyParser.ParsingException

Summary

Public Constructors
PolicyParser.ParsingException(String msg)
Constructs a ParsingException with the specified detail message.
PolicyParser.ParsingException(int line, String msg)
PolicyParser.ParsingException(int line, String expect, String actual)
Public Methods
String getLocalizedMessage()
Creates a localized description of this throwable.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

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.

public PolicyParser.ParsingException (int line, String msg)

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

Public Methods

public String getLocalizedMessage ()

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().

Returns
  • The localized description of this throwable.