Search in sources :

Example 1 with StackTraceElementJson

use of org.killbill.billing.jaxrs.json.BillingExceptionJson.StackTraceElementJson in project killbill by killbill.

the class JaxRsResourceBase method createBillingException.

private BillingExceptionJson createBillingException(final String message) {
    final BillingExceptionJson exception;
    exception = new BillingExceptionJson(PaymentApiException.class.getName(), null, message, null, null, Collections.<StackTraceElementJson>emptyList());
    return exception;
}
Also used : StackTraceElementJson(org.killbill.billing.jaxrs.json.BillingExceptionJson.StackTraceElementJson) BillingExceptionJson(org.killbill.billing.jaxrs.json.BillingExceptionJson)

Aggregations

BillingExceptionJson (org.killbill.billing.jaxrs.json.BillingExceptionJson)1 StackTraceElementJson (org.killbill.billing.jaxrs.json.BillingExceptionJson.StackTraceElementJson)1