marf.util
Class InvalidSampleFormatException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by marf.util.MARFException
              extended by marf.util.InvalidSampleFormatException
All Implemented Interfaces:
java.io.Serializable, IMARFException

public class InvalidSampleFormatException
extends MARFException

Class InvalidSampleFormatException typically signals a mismatch of a loader and file being loader or sample type and its data.

$Id: InvalidSampleFormatException.java,v 1.12 2007/12/23 06:29:47 mokhov Exp $

Since:
0.0.1
Version:
$Revision: 1.12 $
Author:
Serguei Mokhov
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
          For serialization versioning.
 
Fields inherited from class marf.util.MARFException
strMessage
 
Constructor Summary
InvalidSampleFormatException()
          Default InvalidSampleFormat exception with empty message.
InvalidSampleFormatException(java.lang.Exception poException)
          InvalidSampleFormat exception with wrapped exception of another type.
InvalidSampleFormatException(int piFormat)
          Exception for specific sample format.
InvalidSampleFormatException(java.lang.String pstrMsg)
          Generic exception.
InvalidSampleFormatException(java.lang.String pstrMessage, java.lang.Exception poException)
          InvalidSampleFormat exception with wrapped exception of another type and a customized error message.
 
Method Summary
static java.lang.String getMARFSourceCodeRevision()
          Returns source code revision information.
 
Methods inherited from class marf.util.MARFException
create, create, create, create, getMessage, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

serialVersionUID

private static final long serialVersionUID
For serialization versioning. When adding new members or make other structural changes regenerate this number with the serialver tool that comes with JDK.

Since:
0.3.0.4
See Also:
Constant Field Values
Constructor Detail

InvalidSampleFormatException

public InvalidSampleFormatException(int piFormat)
Exception for specific sample format.

Parameters:
piFormat - Format number, caused the exception to be thrown

InvalidSampleFormatException

public InvalidSampleFormatException(java.lang.String pstrMsg)
Generic exception.

Parameters:
pstrMsg - error message only

InvalidSampleFormatException

public InvalidSampleFormatException()
Default InvalidSampleFormat exception with empty message.

Since:
0.3.0.5

InvalidSampleFormatException

public InvalidSampleFormatException(java.lang.Exception poException)
InvalidSampleFormat exception with wrapped exception of another type.

Parameters:
poException - the exception to wrap
Since:
0.3.0.5

InvalidSampleFormatException

public InvalidSampleFormatException(java.lang.String pstrMessage,
                                    java.lang.Exception poException)
InvalidSampleFormat exception with wrapped exception of another type and a customized error message.

Parameters:
pstrMessage - the customized message
poException - the exception to wrap
Since:
0.3.0.5
Method Detail

getMARFSourceCodeRevision

public static java.lang.String getMARFSourceCodeRevision()
Returns source code revision information.

Returns:
revision string
Since:
0.3.0.2


SourceForge Logo