public class ServiceExceptionDetail
extends java.lang.Object
| Constructor and Description |
|---|
ServiceExceptionDetail(StandardServiceExceptionCode code)
Instantiates a new
ServiceExceptionDetail. |
ServiceExceptionDetail(StandardServiceExceptionCode code,
java.lang.String message)
Instantiates a new
ServiceExceptionDetail. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Overridden equals that includes the comparison of service exception details.
|
int |
getCode() |
java.lang.String |
getMessage() |
int |
hashCode()
Overridden hashCode method which takes the message and an arbitrary hash as base.
|
java.lang.String |
toString() |
public ServiceExceptionDetail(StandardServiceExceptionCode code)
ServiceExceptionDetail.code - a standard error code specified per module typepublic ServiceExceptionDetail(StandardServiceExceptionCode code, java.lang.String message)
ServiceExceptionDetail.code - a standard error code specified per module typemessage - a message explaining the errorpublic java.lang.String getMessage()
public java.lang.String toString()
toString in class java.lang.Objectpublic int getCode()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - an objectCopyright © 2018 SAP SE. All Rights Reserved.