javax.validation
Class UnexpectedTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.validation.ValidationException
                  extended by javax.validation.ConstraintDeclarationException
                      extended by javax.validation.UnexpectedTypeException
All Implemented Interfaces:
java.io.Serializable

public class UnexpectedTypeException
extends ConstraintDeclarationException

Exception raised in the case that the constraint validator resolution cannot determine a suitable validator for a given type.

Author:
Hardy Ferentschik
See Also:
Serialized Form

Constructor Summary
UnexpectedTypeException()
           
UnexpectedTypeException(java.lang.String message)
           
UnexpectedTypeException(java.lang.String message, java.lang.Throwable cause)
           
UnexpectedTypeException(java.lang.Throwable cause)
           
 
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
 

Constructor Detail

UnexpectedTypeException

public UnexpectedTypeException(java.lang.String message)

UnexpectedTypeException

public UnexpectedTypeException()

UnexpectedTypeException

public UnexpectedTypeException(java.lang.String message,
                               java.lang.Throwable cause)

UnexpectedTypeException

public UnexpectedTypeException(java.lang.Throwable cause)


Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41