public class AttachmentNotFoundException extends NotFoundException
Constructor and Description |
---|
AttachmentNotFoundException(Long attachmentId)
Constructs a new exception with default message
|
AttachmentNotFoundException(Long attachmentId,
String message)
Construct a new exception with details
|
AttachmentNotFoundException(Long attachmentId,
String message,
Throwable cause)
Construct a new exception with details
|
AttachmentNotFoundException(Long attachmentId,
Throwable cause)
Constructs a new exception with default message
|
Modifier and Type | Method and Description |
---|---|
Long |
getAttachmentId() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AttachmentNotFoundException(Long attachmentId)
attachmentId
- The ID of the attachment that was not foundpublic AttachmentNotFoundException(Long attachmentId, String message)
attachmentId
- The ID of the attachment that was not foundmessage
- the detail messagepublic AttachmentNotFoundException(Long attachmentId, String message, Throwable cause)
attachmentId
- The ID of the attachment that was not foundmessage
- the detail messagecause
- the cause of the exceptionpublic Long getAttachmentId()
Copyright © 2019 Communote team. All rights reserved.