public class DicomException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
static int |
UNTYPED |
Constructor and Description |
---|
DicomException()
Constructs a DicomException with no detail message.
|
DicomException(int g,
int e,
java.lang.String s)
Constructs a DicomException with message: (g,e): s
|
DicomException(int dname,
java.lang.String s)
Constructs a DicomException with message: 'DDict description': s
|
DicomException(java.lang.String s)
Constructs a DicomException with the specified detail message.
|
DicomException(java.lang.String message,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static DicomException |
dicomException(int type,
java.lang.String message)
factory method for creating a DicomException
|
static DicomException |
dicomException(int type,
java.lang.String message,
java.lang.Throwable cause)
factory method for creating a DicomException
|
int |
getType()
returns a type assigned to the exception.
|
public static final int UNTYPED
public DicomException()
public DicomException(java.lang.String s)
public DicomException(int g, int e, java.lang.String s)
public DicomException(int dname, java.lang.String s)
public DicomException(java.lang.String message, java.lang.Throwable cause)
public int getType()
public static DicomException dicomException(int type, java.lang.String message)
type
- -message
- -public static DicomException dicomException(int type, java.lang.String message, java.lang.Throwable cause)
type
- -message
- -cause
- -