Skip to content

Commit

Permalink
[KARAF-4429] Fix the Exception class causing issues with jaxb
Browse files Browse the repository at this point in the history
  • Loading branch information
cristcost authored and gnodet committed Mar 31, 2016
1 parent c037cfc commit 07cb6c1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions exception/src/main/java/java/lang/Exception.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

import java.lang.reflect.Field;

import javax.xml.bind.annotation.XmlTransient;


/**
* {@code Exception} is the superclass of all classes that represent recoverable
Expand Down Expand Up @@ -116,9 +118,15 @@ protected Exception(String message, Throwable cause, boolean enableSuppression,

}

@XmlTransient
@Deprecated
public Class[] getClassContext() {
return classContext;
}

protected Class[] classContext() {
return classContext;
}

private static class SecurityManagerEx extends SecurityManager
{
Expand Down

0 comments on commit 07cb6c1

Please sign in to comment.