Compoze Software, Inc.

com.compoze.collab
Class InvalidValueException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.compoze.collab.util.NestedRuntimeException
                  extended bycom.compoze.collab.CollaborationRuntimeException
                      extended bycom.compoze.collab.InvalidValueException
All Implemented Interfaces:
java.io.Serializable

public class InvalidValueException
extends CollaborationRuntimeException

Exceptions of this class are thrown when a property value is invalid and the programmer attempts to access the value as a datatype with no logical support for values of type InvalidValue (anything but Object).

See Also:
Serialized Form

Constructor Summary
InvalidValueException(com.compoze.collab.spi.Context ctx, com.compoze.collab.spi.ExceptionResourceKey baseKey, InvalidValue value)
          Constructs an InvalidValueException.
InvalidValueException(com.compoze.collab.spi.Context ctx, com.compoze.collab.spi.ExceptionResourceKey baseKey, java.lang.Object param, InvalidValue value)
          Constructs an InvalidValueException.
InvalidValueException(java.lang.Throwable t, com.compoze.collab.spi.Context ctx, com.compoze.collab.spi.ExceptionResourceKey baseKey, InvalidValue value)
          Constructs an InvalidValueException.
InvalidValueException(java.lang.Throwable t, com.compoze.collab.spi.Context ctx, com.compoze.collab.spi.ExceptionResourceKey baseKey, java.lang.Object param, InvalidValue value)
          Constructs an InvalidValueException.
 
Method Summary
 InvalidValue getInvalidValue()
          Gets the invalid value.
 
Methods inherited from class com.compoze.collab.CollaborationRuntimeException
getAdminMessage, getAdminResolution, getProgrammerMessage, getProgrammerResolution, getUserMessage, getUserResolution, main
 
Methods inherited from class com.compoze.collab.util.NestedRuntimeException
getNestedException, getStackTraceString, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidValueException

public InvalidValueException(com.compoze.collab.spi.Context ctx,
                             com.compoze.collab.spi.ExceptionResourceKey baseKey,
                             InvalidValue value)
Constructs an InvalidValueException.

Parameters:
ctx - session context
baseKey - message base key
value - the invalid value (not null)

InvalidValueException

public InvalidValueException(com.compoze.collab.spi.Context ctx,
                             com.compoze.collab.spi.ExceptionResourceKey baseKey,
                             java.lang.Object param,
                             InvalidValue value)
Constructs an InvalidValueException.

Parameters:
ctx - session context
baseKey - message base key
param - message parameter
value - the invalid value (not null)

InvalidValueException

public InvalidValueException(java.lang.Throwable t,
                             com.compoze.collab.spi.Context ctx,
                             com.compoze.collab.spi.ExceptionResourceKey baseKey,
                             InvalidValue value)
Constructs an InvalidValueException.

Parameters:
t - the underlying exception
ctx - session context
baseKey - message base key
value - the invalid value (not null)

InvalidValueException

public InvalidValueException(java.lang.Throwable t,
                             com.compoze.collab.spi.Context ctx,
                             com.compoze.collab.spi.ExceptionResourceKey baseKey,
                             java.lang.Object param,
                             InvalidValue value)
Constructs an InvalidValueException.

Parameters:
t - the underlying exception
ctx - session context
baseKey - message base key
param - message parameter
value - the invalid value (not null)
Method Detail

getInvalidValue

public InvalidValue getInvalidValue()
Gets the invalid value.

Returns:
the value (not null)

Compoze Software, Inc.

Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.