org.apache.qpid
Class AMQPInvalidClassException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.qpid.AMQPInvalidClassException
All Implemented Interfaces:
Serializable

public class AMQPInvalidClassException
extends RuntimeException

AMQPInvalidClassException indicates an error when trying to store an illegally typed argument in a field table.

CRC Card
Responsibilities Collaborations
Represents illegal argument type for field table values.

See Also:
Serialized Form
Todo:
Could just re-use an exising exception like IllegalArgumentException or ClassCastException.

Field Summary
static String INVALID_OBJECT_MSG
          Error message text when trying to store an unsupported class or null object
 
Constructor Summary
AMQPInvalidClassException(String s)
           
 
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

INVALID_OBJECT_MSG

public static final String INVALID_OBJECT_MSG
Error message text when trying to store an unsupported class or null object

See Also:
Constant Field Values
Constructor Detail

AMQPInvalidClassException

public AMQPInvalidClassException(String s)


Licensed to the Apache Software Foundation