HiRISE

HiRISE.libHiRISE
Class Invalid_Argument_Exception

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

public class Invalid_Argument_Exception
extends Exception

An exception for invalid 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
Invalid_Argument_Exception()
          Creates an Invalid_Argument_Exception with ID as its detail message.
Invalid_Argument_Exception(String description)
          Creates an Invalid_Argument_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

Invalid_Argument_Exception

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


Invalid_Argument_Exception

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

Parameters:
description - the exception's 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