gov.nasa.arc.brahms.vm.api.exceptions
Class UnknownValueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by gov.nasa.arc.brahms.common.exceptions.BrahmsException
              extended by gov.nasa.arc.brahms.vm.api.exceptions.ExternalException
                  extended by gov.nasa.arc.brahms.vm.api.exceptions.UnknownValueException
All Implemented Interfaces:
java.io.Serializable

public class UnknownValueException
extends ExternalException

The UnknownValueException is an exception thrown when a user tries to retrieve a value for a Brahms attribute of a concept using a method that returns a primitive value but there is no fact or belief for that attribute of the concept or the value is Unknown

Version:
$Revision: 1.1 $ $Date: 2009/11/23 18:40:14 $ $Author: rnado $
Author:
Bob Nado
See Also:
Serialized Form

Constructor Summary
UnknownValueException()
          Constructor, creates a new UnknownValueException with no detail message
UnknownValueException(java.lang.String message)
          Constructor, creates a new UnknownValueException with the given detail message
UnknownValueException(java.lang.String message, java.lang.Throwable t)
          Constructor, creates a new UnknownValueException with the given detail message wrapping the given exception
UnknownValueException(java.lang.Throwable t)
          Constructor, creates a new UnknownValueException with the given linked exception
 
Method Summary
 
Methods inherited from class gov.nasa.arc.brahms.common.exceptions.BrahmsException
getLinkedException, printStackTrace, printStackTrace, printStackTrace, setLinkedException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnknownValueException

public UnknownValueException()
Constructor, creates a new UnknownValueException with no detail message


UnknownValueException

public UnknownValueException(java.lang.String message)
Constructor, creates a new UnknownValueException with the given detail message

Parameters:
message - the detail message

UnknownValueException

public UnknownValueException(java.lang.Throwable t)
Constructor, creates a new UnknownValueException with the given linked exception

Parameters:
t - the Throwable to be linked to this exception

UnknownValueException

public UnknownValueException(java.lang.String message,
                             java.lang.Throwable t)
Constructor, creates a new UnknownValueException with the given detail message wrapping the given exception

Parameters:
message - the detail message
t - the Throwable to be linked to this exception


Copyright © 1997-2012 All Rights Reserved.