|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException ca.idms.io.DataTruncationException
public class DataTruncationException
Thrown when data is truncated during conversion.
Field Summary | |
---|---|
protected int |
dataSize
|
protected int |
transferSize
|
Constructor Summary | |
---|---|
DataTruncationException()
Constructs a new DataTruncationException. |
|
DataTruncationException(int data)
Constructs a new DataTruncationException. |
|
DataTruncationException(int data,
int tran)
Constructs a new DataTruncationException. |
Method Summary | |
---|---|
int |
getDataSize()
The number of bytes of data that should have been transferred. |
int |
getTransferSize()
The number of bytes of data actually transferred. |
java.lang.String |
toString()
Overrides base method. |
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 |
---|
protected int dataSize
protected int transferSize
Constructor Detail |
---|
public DataTruncationException()
public DataTruncationException(int data)
data
- number of bytes that should have been transfered.public DataTruncationException(int data, int tran)
data
- number of bytes that should have been written.tran
- number of bytes acutally written.Method Detail |
---|
public int getDataSize()
public int getTransferSize()
public java.lang.String toString()
toString
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |