uk.ac.starlink.pal
Class palError
java.lang.Object
java.lang.Throwable
java.lang.Exception
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 |
palError
public palError(int status,
String mess)
- Create a new Pal exceptions
- Parameters:
status
- Exception numbermess
- Exception message
palError
public palError(String mess)
- Create a new Pal exceptions, with zero status
- Parameters:
mess
- Exception message
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.