HiRISE

HiRISE.libHiRISE
Class Out_of_Range_Exception

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by HiRISE.libHiRISE.Out_of_Range_Exception
All Implemented Interfaces:
Serializable

public class Out_of_Range_Exception
extends Exception

An exception for out-of-range arguments.

Version:
2.1
Author:
Christian Schaller - UA/PIRL
See Also:
Serialized Form

Field Summary
static String ID
          Class identification name with source code version and date.
 
Constructor Summary
Out_of_Range_Exception()
          Creates an Out_of_Range_Exception with ID as its detail message.
Out_of_Range_Exception(String description)
          Creates an Out_of_Range_Exception with the specified detail message.
 
Method Summary
protected static String exception_String(Exception exception)
          Gets an exception's detail message, prepending it with a newline sequence.
 
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

ID

public static final String ID
Class identification name with source code version and date.

See Also:
Constant Field Values
Constructor Detail

Out_of_Range_Exception

public Out_of_Range_Exception()
Creates an Out_of_Range_Exception with ID as its detail message.


Out_of_Range_Exception

public Out_of_Range_Exception(String description)
Creates an Out_of_Range_Exception with the specified detail message.

Method Detail

exception_String

protected static String exception_String(Exception exception)
Gets an exception's detail message, prepending it with a newline sequence. If the exception's detail message is null, a newline sequence is all that is returned.

Parameters:
exception - the exception whose detail message is to be returned.
Returns:
the exception's detail message, prepended by a newline sequence.

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona