com.ivata.mask.web.struts
Class ValueObjectException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ivata.mask.util.SystemException
              extended bycom.ivata.mask.web.struts.ValueObjectException
All Implemented Interfaces:
java.io.Serializable

public class ValueObjectException
extends com.ivata.mask.util.SystemException

Thrown whenever there is a problem creating a value object.

Since:
ivata masks 0.3 (2004-05-10)
Version:
$Revision: 1.5 $
Author:
Colin MacLeod colin.macleod@ivata.com
See Also:
Serialized Form

Constructor Summary
ValueObjectException(java.lang.String message)
           Create a value object exception, given a clear message.
ValueObjectException(java.lang.Throwable cause)
           Create a value object exception, given the cause.
ValueObjectException(java.lang.Throwable cause, java.lang.Class valueObjectClassParam)
           Create a value object exception, given the cause and the class of the value object.
ValueObjectException(java.lang.Throwable cause, java.lang.Class valueObjectClassParam, java.lang.String message)
           Create a value object exception, given the cause and the class of the value object and an extra description of what went wrong.
 
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
 

Constructor Detail

ValueObjectException

public ValueObjectException(java.lang.String message)

Create a value object exception, given a clear message.

Parameters:
message - message describing what went wrong.

ValueObjectException

public ValueObjectException(java.lang.Throwable cause)

Create a value object exception, given the cause.

Parameters:
cause - exception which caused the problem to happen.

ValueObjectException

public ValueObjectException(java.lang.Throwable cause,
                            java.lang.Class valueObjectClassParam)

Create a value object exception, given the cause and the class of the value object.

Parameters:
cause - exception which caused the problem to happen.
valueObjectClassParam - The class of value object we were trying to create. Can be null.

ValueObjectException

public ValueObjectException(java.lang.Throwable cause,
                            java.lang.Class valueObjectClassParam,
                            java.lang.String message)

Create a value object exception, given the cause and the class of the value object and an extra description of what went wrong.

Parameters:
cause - exception which caused the problem to happen.
valueObjectClassParam - The class of value object we were trying to create. Can be null.
message - describes what went wrong.


Copyright © 2001-2005 ivata limited. All Rights Reserved.