|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.tffenterprises.music.tag.id3v2.PaddingException
public class PaddingException
This exception is thrown when an ID3v2 frame cannot be parsed properly.
Field Summary | |
---|---|
(package private) long |
nullBytesRead
The number of null (padding) bytes that have been read from the input stream. |
Constructor Summary | |
---|---|
private |
PaddingException()
Constructs a PaddingException with no message. |
|
PaddingException(long readBytes)
Constructs a PaddingException with as parameter only the number of padding bytes that have been read from the input stream. |
|
PaddingException(long readBytes,
java.lang.String message)
Constructs a PaddingException with the specified detail message in addition to the number of padding bytes that have been read from the input stream. |
Method Summary | |
---|---|
private void |
init(long readBytes)
This private initialization method is called following the invocation of the superclass constructor. |
long |
readBytes()
Returns the number of bytes that have already been read from the stream. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
long nullBytesRead
Constructor Detail |
---|
private PaddingException()
public PaddingException(long readBytes, java.lang.String message)
readBytes
- The number of padding bytes that have already been read.message
- The detail message.public PaddingException(long readBytes)
readBytes
- The number of padding bytes that have already been read.Method Detail |
---|
private void init(long readBytes)
readBytes
- The number of padding bytes that have already been read.public long readBytes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |