edu.wisc.cs.stego
Class InvalidWatermarkException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--edu.wisc.cs.stego.InvalidWatermarkException

public class InvalidWatermarkException
extends java.lang.RuntimeException

This exceptions is thrown by subclasses of the Encoder object to indicate that the message text cannot be represented. This may be due to the message text not belonging to the set of allowable watermarks, or for any other reason deemed necessary by the implementor of a specific Encoder.

See Also:
Serialized Form

Constructor Summary
InvalidWatermarkException()
          Constructs a new InvalidWatermarkException with no error message.
InvalidWatermarkException(java.lang.String message)
          Constructs a new InvalidWatermarkException with a specified error message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidWatermarkException

public InvalidWatermarkException()
Constructs a new InvalidWatermarkException with no error message.

InvalidWatermarkException

public InvalidWatermarkException(java.lang.String message)
Constructs a new InvalidWatermarkException with a specified error message.
Parameters:
message - a string containing an error message.