com.waveset.exception
Class PolicyMissing

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.waveset.util.ExceptionWrapper
              extended bycom.waveset.util.WavesetException
                  extended bycom.waveset.exception.PolicyMissing
All Implemented Interfaces:
java.io.Serializable

public class PolicyMissing
extends WavesetException

An exception thrown when a policy cannot be found.

See Also:
Serialized Form

Field Summary
static java.lang.String code_id
           
 
Constructor Summary
PolicyMissing(Message message)
          Construct a exception with a message object.
PolicyMissing(java.lang.String policyName, java.lang.String message)
          Construct a new object with a detailed message.
 
Methods inherited from class com.waveset.util.WavesetException
addMessage, addMessage, breakpoint, checkBreakpoint, enableBreakpoint, getLocalizedMessage, getLocalizedMessage, getMessage, getMessage, getMessage, getMessageObject, getMessageObject, getMessageOnly, getMessages
 
Methods inherited from class com.waveset.util.ExceptionWrapper
addException, clearExceptions, describeException, getAllMessages, getException, getException, getExceptionCount, hasException, printStackTrace, printStackTrace, printStackTrace, removeException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values
Constructor Detail

PolicyMissing

public PolicyMissing(Message message)
Construct a exception with a message object.

Parameters:
message - detailed message.

PolicyMissing

public PolicyMissing(java.lang.String policyName,
                     java.lang.String message)
Construct a new object with a detailed message.

This shouldn't be used by internal code, since the message will have to be pre-formatted and it may be in the wrong locale. This is only a convenience method for external policies that don't want to mess with message catalogs.

Parameters:
policyName - name of the policy.
message - detailed message.