PAJES 3.0.21

org.pajes.util
Class UtilityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.pajes.util.UtilityException
All Implemented Interfaces:
java.io.Serializable

public class UtilityException
extends java.lang.RuntimeException

Thrown when a run-time exception relating to the utility classes occurs.

See Also:
Serialized Form

Field Summary
static java.lang.String BASE64_INVALID_CHARACTER
          Message key for when Base64Decoder encounters an invalid character.
static java.lang.String BASE64_INVALID_LENGTH
          Message key for when a Base64Decoder encounters an invalid string length.
 
Constructor Summary
UtilityException(java.lang.String messageKey)
          Creates a new exception, using the specified message key to locate the actual message to be displayed.
UtilityException(java.lang.String messageKey, java.lang.String[] arguments)
          Creates a new exception, using the specified message key to locate the actual message to be displayed.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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
 

Field Detail

BASE64_INVALID_CHARACTER

public static final java.lang.String BASE64_INVALID_CHARACTER
Message key for when Base64Decoder encounters an invalid character.

See Also:
Constant Field Values

BASE64_INVALID_LENGTH

public static final java.lang.String BASE64_INVALID_LENGTH
Message key for when a Base64Decoder encounters an invalid string length.

See Also:
Constant Field Values
Constructor Detail

UtilityException

public UtilityException(java.lang.String messageKey)
Creates a new exception, using the specified message key to locate the actual message to be displayed. If no matching message key is found, the key is returned as the message.

Parameters:
messageKey - the key from which the actual exception message will be located.

UtilityException

public UtilityException(java.lang.String messageKey,
                        java.lang.String[] arguments)
Creates a new exception, using the specified message key to locate the actual message to be displayed. If no matching message key is found, the key is returned as the message.

Parameters:
messageKey - the key from which the actual exception message will be located.
arguments - any arguments to be passed to create the complete message.

PAJES 3.0.21

Copyright © 1998-2007 Viridian Pty Limited. All Rights Reserved.