uk.ac.starlink.plastic
Class ValueTypeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byuk.ac.starlink.plastic.ValueTypeException
All Implemented Interfaces:
Serializable

public class ValueTypeException
extends Exception

Exception thrown when a value passed by a PLASTIC call does not match the ValueType it is supposed to have.

Since:
10 Jul 2006
Author:
Mark Taylor
See Also:
Serialized Form

Constructor Summary
ValueTypeException(String msg)
          Constructs an exception with a given message.
ValueTypeException(String msg, Throwable cause)
          Constructs an exception with a given message and cause.
 
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

ValueTypeException

public ValueTypeException(String msg)
Constructs an exception with a given message.

Parameters:
msg - error message

ValueTypeException

public ValueTypeException(String msg,
                          Throwable cause)
Constructs an exception with a given message and cause.

Parameters:
msg - error message
cause - underlying error


Copyright © 2006 \\ CLRC: Central Laboratory of the Research Councils. All Rights Reserved.