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

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.UnknownCargoException
All Implemented Interfaces:
java.io.Serializable

public final class UnknownCargoException
extends CannotCreateHandlingEventException

Thrown when trying to register an event with an unknown tracking id.

See Also:
Serialized Form

Constructor Summary
UnknownCargoException(TrackingId trackingId)
           
 
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

UnknownCargoException

public UnknownCargoException(TrackingId trackingId)
Parameters:
trackingId - cargo tracking id
Method Detail

getMessage

public java.lang.String getMessage()

Overrides:
getMessage in class java.lang.Throwable


Copyright © 2009. All Rights Reserved.