public class GenerationMethodNotSupportedException extends RuntimeException implements MAJException, NewForMAJ
Thrown when the generation of a package id is requested with a kind of generation method that is not supported.
No equivalent C result code.
MaterialNumberGeneration,
PackageID,
Forge.generatePackageID(tv.amwa.maj.enumeration.MaterialType, tv.amwa.maj.record.InstanceNumberGeneration, tv.amwa.maj.record.MaterialNumberGeneration),
Forge.generatePackageID(tv.amwa.maj.enumeration.MaterialType, tv.amwa.maj.record.InstanceNumberGeneration, tv.amwa.maj.record.MaterialNumberGeneration, tv.amwa.maj.record.AUID),
Forge.generatePackageID(tv.amwa.maj.enumeration.MaterialType, tv.amwa.maj.record.InstanceNumberGeneration, tv.amwa.maj.record.MaterialNumberGeneration, byte[]),
Serialized Form| Constructor and Description |
|---|
GenerationMethodNotSupportedException()
Create a new generation method not supported exception with no message.
|
GenerationMethodNotSupportedException(String msg)
Create a new generation method not supported exception with the given descriptive message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic GenerationMethodNotSupportedException(String msg)
Create a new generation method not supported exception with the given descriptive message.
msg - Message describing the exception.public GenerationMethodNotSupportedException()
Create a new generation method not supported exception with no message.
(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.