org.jasn
Class TypeConstraintException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.jasn.TypeConstraintException
All Implemented Interfaces:
Serializable

public class TypeConstraintException
extends RuntimeException

This exception indicates that a violation of a dynamically checked type constraint was detected.

This exception can be thrown by the generated setter methods of the ASN.1 derived Java content classes.

Author:
@author Nicolas Vraux
See Also:
Serialized Form

Constructor Summary
TypeConstraintException()
          Construct a TypeConstraintException with no detail message.
TypeConstraintException(String message)
          Construct a TypeConstraintException with the specified detail message.
TypeConstraintException(String message, Throwable cause)
          Construct a TypeConstraintException with the specified detail message and linked exception.
TypeConstraintException(Throwable cause)
          Construct a TypeConstraintException with a linked exception.
 
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

TypeConstraintException

public TypeConstraintException()
Construct a TypeConstraintException with no detail message.


TypeConstraintException

public TypeConstraintException(Throwable cause)
Construct a TypeConstraintException with a linked exception.

Parameters:
cause - the linked exception.

TypeConstraintException

public TypeConstraintException(String message)
Construct a TypeConstraintException with the specified detail message.

Parameters:
message - the detail message.

TypeConstraintException

public TypeConstraintException(String message,
                               Throwable cause)
Construct a TypeConstraintException with the specified detail message and linked exception.

Parameters:
message - the detail message.
cause - the linked exception.


Copyright © 2004 Nicolas Vraux. All Rights Reserved.