issrg.pba.rbac
Class PolicyParsingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by issrg.utils.EmbeddedException
              extended by issrg.pba.PbaException
                  extended by issrg.pba.rbac.PolicyParsingException
All Implemented Interfaces:
java.io.Serializable

public class PolicyParsingException
extends PbaException

This is the exception that is used when parsing the policy. It is thrown if a syntax or semantic error occurred while parsing the policy.

Version:
1.0
Author:
A Otenko
See Also:
Serialized Form

Constructor Summary
PolicyParsingException()
          The default constructor builds an exception with no explanation message and no embedded exception.
PolicyParsingException(java.lang.String msg)
          This constructor builds an exception with a message but no embedded exception.
PolicyParsingException(java.lang.String msg, java.lang.Throwable th)
          This constructor builds an exception with a message and an embedded exception to be returned by getEmbedded method.
 
Method Summary
 
Methods inherited from class issrg.utils.EmbeddedException
getEmbedded, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PolicyParsingException

public PolicyParsingException()
The default constructor builds an exception with no explanation message and no embedded exception.


PolicyParsingException

public PolicyParsingException(java.lang.String msg)
This constructor builds an exception with a message but no embedded exception.

Parameters:
msg - is the String message explaining the error; can be null

PolicyParsingException

public PolicyParsingException(java.lang.String msg,
                              java.lang.Throwable th)
This constructor builds an exception with a message and an embedded exception to be returned by getEmbedded method.

Parameters:
msg - is the String explanation of the error; can be null
th - is the Throwable object to be believed the cause of the error; can be null, if there is no embedded exception
See Also:
EmbeddedException.getEmbedded()