uk.ac.starlink.pal
Class palError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by uk.ac.starlink.pal.palError
All Implemented Interfaces:
Serializable

public class palError
extends Exception

Class for Pal exceptions

See Also:
Serialized Form

Constructor Summary
palError(int status, String mess)
          Create a new Pal exceptions
palError(String mess)
          Create a new Pal exceptions, with zero status
 
Method Summary
 String toString()
          Get the Pal exceptions as a string
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

palError

public palError(int status,
                String mess)
Create a new Pal exceptions

Parameters:
status - Exception number
mess - Exception message

palError

public palError(String mess)
Create a new Pal exceptions, with zero status

Parameters:
mess - Exception message
Method Detail

toString

public String toString()
Get the Pal exceptions as a string

Overrides:
toString in class Throwable
Returns:
The Exception number and message


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.