se.citerus.dddsample.domain.model.handling
Class UnknownVoyageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by se.citerus.dddsample.domain.model.handling.CannotCreateHandlingEventException
              extended by se.citerus.dddsample.domain.model.handling.UnknownVoyageException
All Implemented Interfaces:
java.io.Serializable

public class UnknownVoyageException
extends CannotCreateHandlingEventException

Thrown when trying to register an event with an unknown carrier movement id.

See Also:
Serialized Form

Constructor Summary
UnknownVoyageException(VoyageNumber voyageNumber)
           
 
Method Summary
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnknownVoyageException

public UnknownVoyageException(VoyageNumber voyageNumber)
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable


Copyright © 2009. All Rights Reserved.