cds.simbad
Class SimbadException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycds.simbad.SimbadException
All Implemented Interfaces:
java.io.Serializable

public class SimbadException
extends java.lang.Exception

Title:

Description:

Copyright: Copyright (c) 2003

Company:

Version:
1.0
Author:
Sylvaine Jaehn, Benoît Baranne
See Also:
Serialized Form

Field Summary
static int CMD_ERROR
           
private  int errCode
           
private static java.lang.String[] errmsg
           
static int NO_ALINK
           
static int NO_AUTPOS_REFERENCE
           
static int NO_HLINK
           
static int NO_OBJ
           
static int NO_OBJ_REFERENCE
           
static int NO_REFERENCE
           
static int NO_TITLE_REFERENCE
           
private  java.lang.String objectName
           
static int SON_HIERARCHY
           
static int UNKNOWN_AUTHOR
           
static int UNKNOWN_CATALOGUE
           
static int UNKNOWN_COO
           
static int UNKNOWN_IDENTIFIER
           
static int UNKNOWN_MEASUREMENT
           
static int UNKNOWN_OID
           
static int UNKNOWN_OTYPE
           
static int UNKNOWN_REFERENCE
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
SimbadException()
           
SimbadException(java.lang.String msg)
           
 
Method Summary
 int getErrorCode()
           
 java.lang.String getObjectName()
           
 void setErrorCode(int code)
           
 void setObjectName(java.lang.String name)
           
 java.lang.String toString()
           
 
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
 

Field Detail

errmsg

private static final java.lang.String[] errmsg

UNKNOWN_CATALOGUE

public static final int UNKNOWN_CATALOGUE
See Also:
Constant Field Values

UNKNOWN_IDENTIFIER

public static final int UNKNOWN_IDENTIFIER
See Also:
Constant Field Values

UNKNOWN_REFERENCE

public static final int UNKNOWN_REFERENCE
See Also:
Constant Field Values

UNKNOWN_MEASUREMENT

public static final int UNKNOWN_MEASUREMENT
See Also:
Constant Field Values

NO_OBJ_REFERENCE

public static final int NO_OBJ_REFERENCE
See Also:
Constant Field Values

UNKNOWN_OID

public static final int UNKNOWN_OID
See Also:
Constant Field Values

NO_OBJ

public static final int NO_OBJ
See Also:
Constant Field Values

NO_AUTPOS_REFERENCE

public static final int NO_AUTPOS_REFERENCE
See Also:
Constant Field Values

NO_TITLE_REFERENCE

public static final int NO_TITLE_REFERENCE
See Also:
Constant Field Values

NO_REFERENCE

public static final int NO_REFERENCE
See Also:
Constant Field Values

NO_HLINK

public static final int NO_HLINK
See Also:
Constant Field Values

NO_ALINK

public static final int NO_ALINK
See Also:
Constant Field Values

SON_HIERARCHY

public static final int SON_HIERARCHY
See Also:
Constant Field Values

UNKNOWN_COO

public static final int UNKNOWN_COO
See Also:
Constant Field Values

UNKNOWN_AUTHOR

public static final int UNKNOWN_AUTHOR
See Also:
Constant Field Values

UNKNOWN_OTYPE

public static final int UNKNOWN_OTYPE
See Also:
Constant Field Values

CMD_ERROR

public static final int CMD_ERROR
See Also:
Constant Field Values

errCode

private int errCode

objectName

private java.lang.String objectName
Constructor Detail

SimbadException

public SimbadException()

SimbadException

public SimbadException(java.lang.String msg)
Method Detail

setErrorCode

public void setErrorCode(int code)

getErrorCode

public int getErrorCode()

setObjectName

public void setObjectName(java.lang.String name)

getObjectName

public java.lang.String getObjectName()

toString

public java.lang.String toString()